
/*this sas files extracts data from all monthly CPS filesfor January 1998 through
December 2002*.  All files are stacked in the single data set combined9802.sas7dbat*/

/*change the directory to whereve you stored these data sets.  We are not including 
the CPS data sets in our archive.  These files are publicly available from the BLS at 
http://thedataweb.rm.census.gov/ftp/cps_ftp.html*/
libname everify 'H:\research\state immigration laws\cpsfiles';
options nocenter;
options linesize=78;





/*1998*/
data Jan98;
infile 'H:\research\state immigration laws\cpsfiles\Jan98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
 

data feb98;
infile 'H:\research\state immigration laws\cpsfiles\feb98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data mar98;
infile 'H:\research\state immigration laws\cpsfiles\mar98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data apr98;
infile 'H:\research\state immigration laws\cpsfiles\apr98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data may98;
infile 'H:\research\state immigration laws\cpsfiles\may98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jun98;
infile 'H:\research\state immigration laws\cpsfiles\jun98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jul98;
infile 'H:\research\state immigration laws\cpsfiles\jul98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data aug98;
infile 'H:\research\state immigration laws\cpsfiles\aug98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data sep98;
infile 'H:\research\state immigration laws\cpsfiles\sep98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data oct98;
infile 'H:\research\state immigration laws\cpsfiles\oct98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run; 
proc means;
run;
data nov98;
infile 'H:\research\state immigration laws\cpsfiles\nov98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data dec98;
infile 'H:\research\state immigration laws\cpsfiles\dec98pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
 
/*1999*/
data Jan99;
infile 'H:\research\state immigration laws\cpsfiles\Jan99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data feb99;
infile 'H:\research\state immigration laws\cpsfiles\feb99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data mar99;
infile 'H:\research\state immigration laws\cpsfiles\mar99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data apr99;
infile 'H:\research\state immigration laws\cpsfiles\apr99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data may99;
infile 'H:\research\state immigration laws\cpsfiles\may99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jun99;
infile 'H:\research\state immigration laws\cpsfiles\jun99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jul99;
infile 'H:\research\state immigration laws\cpsfiles\jul99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data aug99;
infile 'H:\research\state immigration laws\cpsfiles\aug99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data sep99;
infile 'H:\research\state immigration laws\cpsfiles\sep99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data oct99;
infile 'H:\research\state immigration laws\cpsfiles\oct99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run; 
proc means;
run;
data nov99;
infile 'H:\research\state immigration laws\cpsfiles\nov99pub.dat' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data dec99;
infile 'H:\research\state immigration laws\cpsfiles\dec99pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
 


/*2000*/
data Jan00;
infile 'H:\research\state immigration laws\cpsfiles\Jan00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data feb00;
infile 'H:\research\state immigration laws\cpsfiles\feb00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data mar00;
infile 'H:\research\state immigration laws\cpsfiles\mar00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data apr00;
infile 'H:\research\state immigration laws\cpsfiles\apr00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data may00;
infile 'H:\research\state immigration laws\cpsfiles\may00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jun00;
infile 'H:\research\state immigration laws\cpsfiles\jun00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jul00;
infile 'H:\research\state immigration laws\cpsfiles\jul00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data aug00;
infile 'H:\research\state immigration laws\cpsfiles\aug00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data sep00;
infile 'H:\research\state immigration laws\cpsfiles\sep00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data oct00;
infile 'H:\research\state immigration laws\cpsfiles\oct00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run; 
proc means;
run;
data nov00;
infile 'H:\research\state immigration laws\cpsfiles\nov00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data dec00;
infile 'H:\research\state immigration laws\cpsfiles\dec00pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
 




/*2001*/
data Jan01;
infile 'H:\research\state immigration laws\cpsfiles\Jan01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data feb01;
infile 'H:\research\state immigration laws\cpsfiles\feb01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data mar01;
infile 'H:\research\state immigration laws\cpsfiles\mar01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data apr01;
infile 'H:\research\state immigration laws\cpsfiles\apr01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data may01;
infile 'H:\research\state immigration laws\cpsfiles\may01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jun01;
infile 'H:\research\state immigration laws\cpsfiles\jun01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jul01;
infile 'H:\research\state immigration laws\cpsfiles\jul01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data aug01;
infile 'H:\research\state immigration laws\cpsfiles\aug01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data sep01;
infile 'H:\research\state immigration laws\cpsfiles\sep01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data oct01;
infile 'H:\research\state immigration laws\cpsfiles\oct01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run; 
proc means;
run;
data nov01;
infile 'H:\research\state immigration laws\cpsfiles\nov01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data dec01;
infile 'H:\research\state immigration laws\cpsfiles\dec01pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
 



/*2002*/

data Jan02;
infile 'H:\research\state immigration laws\cpsfiles\Jan02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data feb02;
infile 'H:\research\state immigration laws\cpsfiles\feb02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data mar02;
infile 'H:\research\state immigration laws\cpsfiles\mar02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data apr02;
infile 'H:\research\state immigration laws\cpsfiles\apr02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;

data may02;
infile 'H:\research\state immigration laws\cpsfiles\may02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jun02;
infile 'H:\research\state immigration laws\cpsfiles\jun02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data jul02;
infile 'H:\research\state immigration laws\cpsfiles\jul02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data aug02;
infile 'H:\research\state immigration laws\cpsfiles\aug02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data sep02;
infile 'H:\research\state immigration laws\cpsfiles\sep02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data oct02;
infile 'H:\research\state immigration laws\cpsfiles\oct02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run; 
proc means;
run;
data nov02;
infile 'H:\research\state immigration laws\cpsfiles\nov02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
data dec02;
infile 'H:\research\state immigration laws\cpsfiles\dec02pub.cps' lrecl=856;
input month 16-17 year 18-21 hetenure 29-30 hweight 47-56 .4
gestfips 93-94 rref 118-119 age 122-123
sex 129-130 educ 137-138 race 139-140 hispanic  157-158
marital 159-160 type 161-162 
country 163-165 citizen 172-173 employment 180-181 peio1cow 432-433 prdtind1 472-473  enroled 575-576
weight 613-622 .4 qstnum 815-819 occurnum 820-821;
run;
proc means;
run;
 



data everify.combined9802 (compress=yes);
set
jan98 feb98 mar98 apr98 may98 jun98 jul98 aug98 sep98 oct98 nov98 dec98
jan99 feb99 mar99 apr99 may99 jun99 jul99 aug99 sep99 oct99 nov99 dec99
jan00 feb00 mar00 apr00 may00 jun00 jul00 aug00 sep00 oct00 nov00 dec00
jan01 feb01 mar01 apr01 may01 jun01 jul01 aug01 sep01 oct01 nov01 dec01
jan02 feb02 mar02 apr02 may02 jun02 jul02 aug02 sep02 oct02 nov02 dec02;
if weight>0;
run;
 
 
